<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::cuda::PointCloudSOA&lt; Storage &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1cuda_1_1_point_cloud_s_o_a.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classpcl_1_1cuda_1_1_point_cloud_s_o_a-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::cuda::PointCloudSOA&lt; Storage &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="cuda_2common_2include_2pcl_2cuda_2point__cloud_8h_source.html">point_cloud.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:ad850210fca58eaf245624e09cc931b7f"><td class="memItemLeft" align="right" valign="top"><a id="ad850210fca58eaf245624e09cc931b7f"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a>&lt; Storage &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:ad850210fca58eaf245624e09cc931b7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a484294a7b0caf4ee98b01485c2944f44"><td class="memItemLeft" align="right" valign="top"><a id="a484294a7b0caf4ee98b01485c2944f44"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a>&lt; Storage &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a484294a7b0caf4ee98b01485c2944f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f9f2593d39d6be64fb9e249600e41a2"><td class="memItemLeft" align="right" valign="top"><a id="a6f9f2593d39d6be64fb9e249600e41a2"></a>
typedef thrust::tuple&lt; float, float, float &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>tuple_type</b></td></tr>
<tr class="separator:a6f9f2593d39d6be64fb9e249600e41a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39dbee9590af05feeb6baf22f730b303"><td class="memItemLeft" align="right" valign="top"><a id="a39dbee9590af05feeb6baf22f730b303"></a>
typedef Storage&lt; float &gt;::type::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>float_iterator</b></td></tr>
<tr class="separator:a39dbee9590af05feeb6baf22f730b303"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31423402da247eb137379bf9f6300dee"><td class="memItemLeft" align="right" valign="top"><a id="a31423402da247eb137379bf9f6300dee"></a>
typedef thrust::tuple&lt; float_iterator, float_iterator, float_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>iterator_tuple</b></td></tr>
<tr class="separator:a31423402da247eb137379bf9f6300dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15dc406d88de8a9a5e1e5831b669bedd"><td class="memItemLeft" align="right" valign="top"><a id="a15dc406d88de8a9a5e1e5831b669bedd"></a>
typedef thrust::zip_iterator&lt; iterator_tuple &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>zip_iterator</b></td></tr>
<tr class="separator:a15dc406d88de8a9a5e1e5831b669bedd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a63f7b7a163bc7974c1f84f77799f96e2"><td class="memItemLeft" align="right" valign="top"><a id="a63f7b7a163bc7974c1f84f77799f96e2"></a>
<a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a> &amp;rhs)</td></tr>
<tr class="separator:a63f7b7a163bc7974c1f84f77799f96e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef13aefa75dc29be68c39944ed44fe19"><td class="memTemplParams" colspan="2"><a id="aef13aefa75dc29be68c39944ed44fe19"></a>
template&lt;typename OtherStorage &gt; </td></tr>
<tr class="memitem:aef13aefa75dc29be68c39944ed44fe19"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator&lt;&lt;</b> (const OtherStorage &amp;rhs)</td></tr>
<tr class="separator:aef13aefa75dc29be68c39944ed44fe19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05cc53749a16b275ed1f912b80614aa0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a05cc53749a16b275ed1f912b80614aa0">resize</a> (size_t newsize)</td></tr>
<tr class="memdesc:a05cc53749a16b275ed1f912b80614aa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize the internal point data vectors.  <a href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a05cc53749a16b275ed1f912b80614aa0">更多...</a><br /></td></tr>
<tr class="separator:a05cc53749a16b275ed1f912b80614aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0327b60e9166319365116d757b657a8"><td class="memItemLeft" align="right" valign="top"><a id="af0327b60e9166319365116d757b657a8"></a>
std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#af0327b60e9166319365116d757b657a8">size</a> () const</td></tr>
<tr class="memdesc:af0327b60e9166319365116d757b657a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the internal vectors <br /></td></tr>
<tr class="separator:af0327b60e9166319365116d757b657a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46f4262dfaf5083f9698a30d440136d2"><td class="memItemLeft" align="right" valign="top"><a id="a46f4262dfaf5083f9698a30d440136d2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a46f4262dfaf5083f9698a30d440136d2">sane</a> () const</td></tr>
<tr class="memdesc:a46f4262dfaf5083f9698a30d440136d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the internal pooint data vectors are valid. <br /></td></tr>
<tr class="separator:a46f4262dfaf5083f9698a30d440136d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ddc0b5eb4d7e1c55ba3a84e69f4ea39"><td class="memItemLeft" align="right" valign="top"><a id="a2ddc0b5eb4d7e1c55ba3a84e69f4ea39"></a>
zip_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>zip_begin</b> ()</td></tr>
<tr class="separator:a2ddc0b5eb4d7e1c55ba3a84e69f4ea39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add8b16c7630b87c395b8c471a99d91ad"><td class="memItemLeft" align="right" valign="top"><a id="add8b16c7630b87c395b8c471a99d91ad"></a>
zip_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>zip_end</b> ()</td></tr>
<tr class="separator:add8b16c7630b87c395b8c471a99d91ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:ad70a569db2923c084073edc96c107546"><td class="memItemLeft" align="right" valign="top"><a id="ad70a569db2923c084073edc96c107546"></a>
Storage&lt; float &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#ad70a569db2923c084073edc96c107546">points_x</a></td></tr>
<tr class="memdesc:ad70a569db2923c084073edc96c107546"><td class="mdescLeft">&#160;</td><td class="mdescRight">The point data. <br /></td></tr>
<tr class="separator:ad70a569db2923c084073edc96c107546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5d297e7541402753ccbad3436382430"><td class="memItemLeft" align="right" valign="top"><a id="ae5d297e7541402753ccbad3436382430"></a>
Storage&lt; float &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><b>points_y</b></td></tr>
<tr class="separator:ae5d297e7541402753ccbad3436382430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2efd46eb0af871fb76c06c1d7887024"><td class="memItemLeft" align="right" valign="top"><a id="ad2efd46eb0af871fb76c06c1d7887024"></a>
Storage&lt; float &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><b>points_z</b></td></tr>
<tr class="separator:ad2efd46eb0af871fb76c06c1d7887024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba54a51839345c5b75d72975a5a62668"><td class="memItemLeft" align="right" valign="top"><a id="aba54a51839345c5b75d72975a5a62668"></a>
Storage&lt; int &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><b>rgb</b></td></tr>
<tr class="separator:aba54a51839345c5b75d72975a5a62668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a334b4febe4fd9e79dc9f143cde708210"><td class="memItemLeft" align="right" valign="top"><a id="a334b4febe4fd9e79dc9f143cde708210"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a334b4febe4fd9e79dc9f143cde708210">width</a></td></tr>
<tr class="memdesc:a334b4febe4fd9e79dc9f143cde708210"><td class="mdescLeft">&#160;</td><td class="mdescRight">The point cloud width (if organized as an image-structure). <br /></td></tr>
<tr class="separator:a334b4febe4fd9e79dc9f143cde708210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a066e92f505fcc745610c9ee6d272945e"><td class="memItemLeft" align="right" valign="top"><a id="a066e92f505fcc745610c9ee6d272945e"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a066e92f505fcc745610c9ee6d272945e">height</a></td></tr>
<tr class="memdesc:a066e92f505fcc745610c9ee6d272945e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The point cloud height (if organized as an image-structure). <br /></td></tr>
<tr class="separator:a066e92f505fcc745610c9ee6d272945e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa794bf5b704d5693ed3f84c00feebe3f"><td class="memItemLeft" align="right" valign="top"><a id="aa794bf5b704d5693ed3f84c00feebe3f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#aa794bf5b704d5693ed3f84c00feebe3f">is_dense</a></td></tr>
<tr class="memdesc:aa794bf5b704d5693ed3f84c00feebe3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if no points are invalid (e.g., have NaN or Inf values). <br /></td></tr>
<tr class="separator:aa794bf5b704d5693ed3f84c00feebe3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;template&lt; typename &gt; class Storage&gt;<br />
class pcl::cuda::PointCloudSOA&lt; Storage &gt;</h3>

<p><b><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a></b> represents a SOA (Struct of Arrays) <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> implementation for CUDA processing. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a05cc53749a16b275ed1f912b80614aa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05cc53749a16b275ed1f912b80614aa0">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;template&lt; typename &gt; class Storage&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">pcl::cuda::PointCloudSOA</a>&lt; Storage &gt;::resize </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>newsize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resize the internal point data vectors. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newsize</td><td>the new size </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        {</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;          assert (<a class="code" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a46f4262dfaf5083f9698a30d440136d2">sane</a> ());</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;          <a class="code" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#ad70a569db2923c084073edc96c107546">points_x</a>.resize (newsize);</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;          points_y.resize (newsize);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;          points_z.resize (newsize);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1cuda_1_1_point_cloud_s_o_a_html_a46f4262dfaf5083f9698a30d440136d2"><div class="ttname"><a href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#a46f4262dfaf5083f9698a30d440136d2">pcl::cuda::PointCloudSOA::sane</a></div><div class="ttdeci">bool sane() const</div><div class="ttdoc">Check if the internal pooint data vectors are valid.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:262</div></div>
<div class="ttc" id="aclasspcl_1_1cuda_1_1_point_cloud_s_o_a_html_ad70a569db2923c084073edc96c107546"><div class="ttname"><a href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html#ad70a569db2923c084073edc96c107546">pcl::cuda::PointCloudSOA::points_x</a></div><div class="ttdeci">Storage&lt; float &gt;::type points_x</div><div class="ttdoc">The point data.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:269</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>cuda/common/include/pcl/cuda/<a class="el" href="cuda_2common_2include_2pcl_2cuda_2point__cloud_8h_source.html">point_cloud.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>cuda</b></li><li class="navelem"><a class="el" href="classpcl_1_1cuda_1_1_point_cloud_s_o_a.html">PointCloudSOA</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
